# $Id: PKGBUILD 56478 2011-10-07 10:09:32Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Francois Charette <firmicus@gmx.net>

pkgname=perl-xml-atom
pkgver=0.41
pkgrel=1
pkgdesc="Atom feed and API implementation "
arch=('any')
url="http://search.cpan.org/dist/XML-Atom"
license=('GPL' 'PerlArtistic')
depends=('perl-class-data-inheritable' 'perl-uri' 'perl-xml-libxml>=1.64' 'perl-xml-xpath')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/M/MI/MIYAGAWA/XML-Atom-$pkgver.tar.gz)
md5sums=('99eeebbf90c95cc1a24426a0b9f2d6a5')

build() {
  cd  $srcdir/XML-Atom-$pkgver
  sed -i "s|recommends('LWP::Authen::Wsse'),||g" Makefile.PL
  perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
